package cn.time1024.time_app

import android.app.Application
import cn.jpush.android.api.JPushInterface
import android.util.Log

class AppApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        JPushInterface.setDebugMode(true)
        JPushInterface.init(this)
        val rid = JPushInterface.getRegistrationID(this)
        Log.d("JPush", "App启动，RegistrationID=${rid}")
    }
}